package hu.village.service;

import hu.village.pojo.Account;
import hu.village.pojo.Admin;
import hu.village.pojo.Village;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface AdminService {
    Admin login(String adminName, String password);

    List<Village> selectBinding();

    void process(Integer choice, Village village);

    List<Account> selectCheckingAccount();

    void processAccount(Integer choice, Account account);

    List<Account> selectReportAccount();

    void processReportedAccount(Integer choice, Account account);
}
